package cn.kshost.zqyg.order.service;

import cn.kshost.zqyg.model.dto.h5.OrderInfoDto;
import cn.kshost.zqyg.model.entity.order.OrderInfo;
import cn.kshost.zqyg.model.vo.h5.TradeVo;
import com.github.pagehelper.PageInfo;

public interface OrderService {
    TradeVo trade();

    Long submitOrder(OrderInfoDto orderInfoDto);

    OrderInfo getOrderInfo( Long orderId);

    TradeVo getBuyOrderInfo(Long skuId);

    PageInfo<OrderInfo> getOrderInfoPage(Integer page, Integer limit, Integer orderStatus);

    OrderInfo getOrderInfoByOrderNo(Long orderNo);

    void updateOrderStatus(String orderNo, int payType);
}
